﻿using Koala.Pro.CodeGenerator.UI.Common;

namespace Koala.Pro.CodeGenerator.UI.DatabaseModel.Schema
{
    public class ProcedureInfo
    {
        private NameElement name;

        private DatabaseInfo parentDatabase;

        private string text;

        public NameElement Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public string Text
        {
            get
            {
                return text;
            }
            set
            {
                text = value;
            }
        }

        public DatabaseInfo ParentDatabase
        {
            get
            {
                return parentDatabase;
            }
            set
            {
                parentDatabase = value;
            }
        }

        public override string ToString()
        {
            return StringUtil.ToString(this);
        }
    }

}
